package com.tools.repository;

import com.tools.model.entity.UserHistoryRelEntity;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

public interface UserHistoryRepository extends JpaRepository<UserHistoryRelEntity, Long>, JpaSpecificationExecutor<UserHistoryRelEntity> {

    List<UserHistoryRelEntity> findAllByUserId(String userid);
}